package com.dianping.cat.consumer.matrix.model.transform;

import com.dianping.cat.consumer.matrix.model.IVisitor;
import com.dianping.cat.consumer.matrix.model.entity.Matrix;
import com.dianping.cat.consumer.matrix.model.entity.MatrixReport;
import com.dianping.cat.consumer.matrix.model.entity.Ratio;

public abstract class BaseVisitor
  implements IVisitor {
  public void visitMatrix(Matrix matrix) {
/* 11 */     for (Ratio ratio : matrix.getRatios().values()) {
/* 12 */       visitRatio(ratio);
    }
  }


  public void visitMatrixReport(MatrixReport matrixReport) {
/* 18 */     for (Matrix matrix : matrixReport.getMatrixs().values())
/* 19 */       visitMatrix(matrix); 
  }

  public void visitRatio(Ratio ratio) {}
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-consumer-3.0.0.jar!/com/dianping/cat/consumer/matrix/model/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */